package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HCustomerManage;
import com.flea.system.entity.OrgDept;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HCustomerManageMapper {
    int deleteByPrimaryKey(String id);

    int insert(HCustomerManage record);

    int insertSelective(HCustomerManage record);

    HCustomerManage selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HCustomerManage record);

    int updateByPrimaryKey(HCustomerManage record);

    List<HCustomerManage> selectByParams(RowBounds rowBounds,
                                         @Param("queryStartTime") String queryStartTime,
                                         @Param("queryEndTime")String queryEndTime,
                                         @Param("deptList")List<OrgDept> deptList);

    HCustomerManage selectByDeptId(String deptId);
}